package com.lyc.tool;

public class AjaxResponse {
    private boolean state;
    private String message;
    private Object result;

    public AjaxResponse() {
    }

    public AjaxResponse(boolean state, String message) {
        this.state = state;
        this.message = message;
    }

    public AjaxResponse(boolean state, String message, Object result) {
        this.state = state;
        this.message = message;
        this.result = result;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}